datepicker
@Composable
Content copied to clipboard
Parameters
initial Date
time to be shown to the user when the dialog is first shown. Defaults to the current date if this is not set
year Range
the range of years the user should be allowed to pick from
wait For Positive Button
if true the onDateChange callback will only be called when the positive button is pressed, otherwise it will be called on every input change
on Date Change
callback with a LocalDateTime object when the user completes their input
allowed Date Validator
when this returns true the date will be selectable otherwise it won't be